package com.quanyan.club.entity.db;

import com.quanyan.common.utils.Limit;
import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class TbClubActivityExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    protected int limitStart = 0;

    protected int limitEnd = 0;

    protected Limit limit;

    public TbClubActivityExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    public void setLimitStart(int limitStart) {
        this.limitStart=limitStart;
    }

    public int getLimitStart() {
        return limitStart;
    }

    public void setLimitEnd(int limitEnd) {
        this.limitEnd=limitEnd;
    }

    public int getLimitEnd() {
        return limitEnd;
    }

    public void setLimit(Limit limit) {
        this.limit=limit;
    }

    public Limit getLimit() {
        return limit;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Integer value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Integer value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Integer value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Integer value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Integer value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Integer> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Integer> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Integer value1, Integer value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Integer value1, Integer value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andUidIsNull() {
            addCriterion("uid is null");
            return (Criteria) this;
        }

        public Criteria andUidIsNotNull() {
            addCriterion("uid is not null");
            return (Criteria) this;
        }

        public Criteria andUidEqualTo(Integer value) {
            addCriterion("uid =", value, "uid");
            return (Criteria) this;
        }

        public Criteria andUidNotEqualTo(Integer value) {
            addCriterion("uid <>", value, "uid");
            return (Criteria) this;
        }

        public Criteria andUidGreaterThan(Integer value) {
            addCriterion("uid >", value, "uid");
            return (Criteria) this;
        }

        public Criteria andUidGreaterThanOrEqualTo(Integer value) {
            addCriterion("uid >=", value, "uid");
            return (Criteria) this;
        }

        public Criteria andUidLessThan(Integer value) {
            addCriterion("uid <", value, "uid");
            return (Criteria) this;
        }

        public Criteria andUidLessThanOrEqualTo(Integer value) {
            addCriterion("uid <=", value, "uid");
            return (Criteria) this;
        }

        public Criteria andUidIn(List<Integer> values) {
            addCriterion("uid in", values, "uid");
            return (Criteria) this;
        }

        public Criteria andUidNotIn(List<Integer> values) {
            addCriterion("uid not in", values, "uid");
            return (Criteria) this;
        }

        public Criteria andUidBetween(Integer value1, Integer value2) {
            addCriterion("uid between", value1, value2, "uid");
            return (Criteria) this;
        }

        public Criteria andUidNotBetween(Integer value1, Integer value2) {
            addCriterion("uid not between", value1, value2, "uid");
            return (Criteria) this;
        }

        public Criteria andPlannerIsNull() {
            addCriterion("planner is null");
            return (Criteria) this;
        }

        public Criteria andPlannerIsNotNull() {
            addCriterion("planner is not null");
            return (Criteria) this;
        }

        public Criteria andPlannerEqualTo(String value) {
            addCriterion("planner =", value, "planner");
            return (Criteria) this;
        }

        public Criteria andPlannerNotEqualTo(String value) {
            addCriterion("planner <>", value, "planner");
            return (Criteria) this;
        }

        public Criteria andPlannerGreaterThan(String value) {
            addCriterion("planner >", value, "planner");
            return (Criteria) this;
        }

        public Criteria andPlannerGreaterThanOrEqualTo(String value) {
            addCriterion("planner >=", value, "planner");
            return (Criteria) this;
        }

        public Criteria andPlannerLessThan(String value) {
            addCriterion("planner <", value, "planner");
            return (Criteria) this;
        }

        public Criteria andPlannerLessThanOrEqualTo(String value) {
            addCriterion("planner <=", value, "planner");
            return (Criteria) this;
        }

        public Criteria andPlannerLike(String value) {
            addCriterion("planner like", value, "planner");
            return (Criteria) this;
        }

        public Criteria andPlannerNotLike(String value) {
            addCriterion("planner not like", value, "planner");
            return (Criteria) this;
        }

        public Criteria andPlannerIn(List<String> values) {
            addCriterion("planner in", values, "planner");
            return (Criteria) this;
        }

        public Criteria andPlannerNotIn(List<String> values) {
            addCriterion("planner not in", values, "planner");
            return (Criteria) this;
        }

        public Criteria andPlannerBetween(String value1, String value2) {
            addCriterion("planner between", value1, value2, "planner");
            return (Criteria) this;
        }

        public Criteria andPlannerNotBetween(String value1, String value2) {
            addCriterion("planner not between", value1, value2, "planner");
            return (Criteria) this;
        }

        public Criteria andMobileIsNull() {
            addCriterion("mobile is null");
            return (Criteria) this;
        }

        public Criteria andMobileIsNotNull() {
            addCriterion("mobile is not null");
            return (Criteria) this;
        }

        public Criteria andMobileEqualTo(String value) {
            addCriterion("mobile =", value, "mobile");
            return (Criteria) this;
        }

        public Criteria andMobileNotEqualTo(String value) {
            addCriterion("mobile <>", value, "mobile");
            return (Criteria) this;
        }

        public Criteria andMobileGreaterThan(String value) {
            addCriterion("mobile >", value, "mobile");
            return (Criteria) this;
        }

        public Criteria andMobileGreaterThanOrEqualTo(String value) {
            addCriterion("mobile >=", value, "mobile");
            return (Criteria) this;
        }

        public Criteria andMobileLessThan(String value) {
            addCriterion("mobile <", value, "mobile");
            return (Criteria) this;
        }

        public Criteria andMobileLessThanOrEqualTo(String value) {
            addCriterion("mobile <=", value, "mobile");
            return (Criteria) this;
        }

        public Criteria andMobileLike(String value) {
            addCriterion("mobile like", value, "mobile");
            return (Criteria) this;
        }

        public Criteria andMobileNotLike(String value) {
            addCriterion("mobile not like", value, "mobile");
            return (Criteria) this;
        }

        public Criteria andMobileIn(List<String> values) {
            addCriterion("mobile in", values, "mobile");
            return (Criteria) this;
        }

        public Criteria andMobileNotIn(List<String> values) {
            addCriterion("mobile not in", values, "mobile");
            return (Criteria) this;
        }

        public Criteria andMobileBetween(String value1, String value2) {
            addCriterion("mobile between", value1, value2, "mobile");
            return (Criteria) this;
        }

        public Criteria andMobileNotBetween(String value1, String value2) {
            addCriterion("mobile not between", value1, value2, "mobile");
            return (Criteria) this;
        }

        public Criteria andCityIdIsNull() {
            addCriterion("city_id is null");
            return (Criteria) this;
        }

        public Criteria andCityIdIsNotNull() {
            addCriterion("city_id is not null");
            return (Criteria) this;
        }

        public Criteria andCityIdEqualTo(Integer value) {
            addCriterion("city_id =", value, "cityId");
            return (Criteria) this;
        }

        public Criteria andCityIdNotEqualTo(Integer value) {
            addCriterion("city_id <>", value, "cityId");
            return (Criteria) this;
        }

        public Criteria andCityIdGreaterThan(Integer value) {
            addCriterion("city_id >", value, "cityId");
            return (Criteria) this;
        }

        public Criteria andCityIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("city_id >=", value, "cityId");
            return (Criteria) this;
        }

        public Criteria andCityIdLessThan(Integer value) {
            addCriterion("city_id <", value, "cityId");
            return (Criteria) this;
        }

        public Criteria andCityIdLessThanOrEqualTo(Integer value) {
            addCriterion("city_id <=", value, "cityId");
            return (Criteria) this;
        }

        public Criteria andCityIdIn(List<Integer> values) {
            addCriterion("city_id in", values, "cityId");
            return (Criteria) this;
        }

        public Criteria andCityIdNotIn(List<Integer> values) {
            addCriterion("city_id not in", values, "cityId");
            return (Criteria) this;
        }

        public Criteria andCityIdBetween(Integer value1, Integer value2) {
            addCriterion("city_id between", value1, value2, "cityId");
            return (Criteria) this;
        }

        public Criteria andCityIdNotBetween(Integer value1, Integer value2) {
            addCriterion("city_id not between", value1, value2, "cityId");
            return (Criteria) this;
        }

        public Criteria andDistrictIdIsNull() {
            addCriterion("district_id is null");
            return (Criteria) this;
        }

        public Criteria andDistrictIdIsNotNull() {
            addCriterion("district_id is not null");
            return (Criteria) this;
        }

        public Criteria andDistrictIdEqualTo(Integer value) {
            addCriterion("district_id =", value, "districtId");
            return (Criteria) this;
        }

        public Criteria andDistrictIdNotEqualTo(Integer value) {
            addCriterion("district_id <>", value, "districtId");
            return (Criteria) this;
        }

        public Criteria andDistrictIdGreaterThan(Integer value) {
            addCriterion("district_id >", value, "districtId");
            return (Criteria) this;
        }

        public Criteria andDistrictIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("district_id >=", value, "districtId");
            return (Criteria) this;
        }

        public Criteria andDistrictIdLessThan(Integer value) {
            addCriterion("district_id <", value, "districtId");
            return (Criteria) this;
        }

        public Criteria andDistrictIdLessThanOrEqualTo(Integer value) {
            addCriterion("district_id <=", value, "districtId");
            return (Criteria) this;
        }

        public Criteria andDistrictIdIn(List<Integer> values) {
            addCriterion("district_id in", values, "districtId");
            return (Criteria) this;
        }

        public Criteria andDistrictIdNotIn(List<Integer> values) {
            addCriterion("district_id not in", values, "districtId");
            return (Criteria) this;
        }

        public Criteria andDistrictIdBetween(Integer value1, Integer value2) {
            addCriterion("district_id between", value1, value2, "districtId");
            return (Criteria) this;
        }

        public Criteria andDistrictIdNotBetween(Integer value1, Integer value2) {
            addCriterion("district_id not between", value1, value2, "districtId");
            return (Criteria) this;
        }

        public Criteria andLngIsNull() {
            addCriterion("lng is null");
            return (Criteria) this;
        }

        public Criteria andLngIsNotNull() {
            addCriterion("lng is not null");
            return (Criteria) this;
        }

        public Criteria andLngEqualTo(Double value) {
            addCriterion("lng =", value, "lng");
            return (Criteria) this;
        }

        public Criteria andLngNotEqualTo(Double value) {
            addCriterion("lng <>", value, "lng");
            return (Criteria) this;
        }

        public Criteria andLngGreaterThan(Double value) {
            addCriterion("lng >", value, "lng");
            return (Criteria) this;
        }

        public Criteria andLngGreaterThanOrEqualTo(Double value) {
            addCriterion("lng >=", value, "lng");
            return (Criteria) this;
        }

        public Criteria andLngLessThan(Double value) {
            addCriterion("lng <", value, "lng");
            return (Criteria) this;
        }

        public Criteria andLngLessThanOrEqualTo(Double value) {
            addCriterion("lng <=", value, "lng");
            return (Criteria) this;
        }

        public Criteria andLngIn(List<Double> values) {
            addCriterion("lng in", values, "lng");
            return (Criteria) this;
        }

        public Criteria andLngNotIn(List<Double> values) {
            addCriterion("lng not in", values, "lng");
            return (Criteria) this;
        }

        public Criteria andLngBetween(Double value1, Double value2) {
            addCriterion("lng between", value1, value2, "lng");
            return (Criteria) this;
        }

        public Criteria andLngNotBetween(Double value1, Double value2) {
            addCriterion("lng not between", value1, value2, "lng");
            return (Criteria) this;
        }

        public Criteria andLatIsNull() {
            addCriterion("lat is null");
            return (Criteria) this;
        }

        public Criteria andLatIsNotNull() {
            addCriterion("lat is not null");
            return (Criteria) this;
        }

        public Criteria andLatEqualTo(Double value) {
            addCriterion("lat =", value, "lat");
            return (Criteria) this;
        }

        public Criteria andLatNotEqualTo(Double value) {
            addCriterion("lat <>", value, "lat");
            return (Criteria) this;
        }

        public Criteria andLatGreaterThan(Double value) {
            addCriterion("lat >", value, "lat");
            return (Criteria) this;
        }

        public Criteria andLatGreaterThanOrEqualTo(Double value) {
            addCriterion("lat >=", value, "lat");
            return (Criteria) this;
        }

        public Criteria andLatLessThan(Double value) {
            addCriterion("lat <", value, "lat");
            return (Criteria) this;
        }

        public Criteria andLatLessThanOrEqualTo(Double value) {
            addCriterion("lat <=", value, "lat");
            return (Criteria) this;
        }

        public Criteria andLatIn(List<Double> values) {
            addCriterion("lat in", values, "lat");
            return (Criteria) this;
        }

        public Criteria andLatNotIn(List<Double> values) {
            addCriterion("lat not in", values, "lat");
            return (Criteria) this;
        }

        public Criteria andLatBetween(Double value1, Double value2) {
            addCriterion("lat between", value1, value2, "lat");
            return (Criteria) this;
        }

        public Criteria andLatNotBetween(Double value1, Double value2) {
            addCriterion("lat not between", value1, value2, "lat");
            return (Criteria) this;
        }

        public Criteria andActivityIdIsNull() {
            addCriterion("activity_id is null");
            return (Criteria) this;
        }

        public Criteria andActivityIdIsNotNull() {
            addCriterion("activity_id is not null");
            return (Criteria) this;
        }

        public Criteria andActivityIdEqualTo(Integer value) {
            addCriterion("activity_id =", value, "activityId");
            return (Criteria) this;
        }

        public Criteria andActivityIdNotEqualTo(Integer value) {
            addCriterion("activity_id <>", value, "activityId");
            return (Criteria) this;
        }

        public Criteria andActivityIdGreaterThan(Integer value) {
            addCriterion("activity_id >", value, "activityId");
            return (Criteria) this;
        }

        public Criteria andActivityIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("activity_id >=", value, "activityId");
            return (Criteria) this;
        }

        public Criteria andActivityIdLessThan(Integer value) {
            addCriterion("activity_id <", value, "activityId");
            return (Criteria) this;
        }

        public Criteria andActivityIdLessThanOrEqualTo(Integer value) {
            addCriterion("activity_id <=", value, "activityId");
            return (Criteria) this;
        }

        public Criteria andActivityIdIn(List<Integer> values) {
            addCriterion("activity_id in", values, "activityId");
            return (Criteria) this;
        }

        public Criteria andActivityIdNotIn(List<Integer> values) {
            addCriterion("activity_id not in", values, "activityId");
            return (Criteria) this;
        }

        public Criteria andActivityIdBetween(Integer value1, Integer value2) {
            addCriterion("activity_id between", value1, value2, "activityId");
            return (Criteria) this;
        }

        public Criteria andActivityIdNotBetween(Integer value1, Integer value2) {
            addCriterion("activity_id not between", value1, value2, "activityId");
            return (Criteria) this;
        }

        public Criteria andClubIdIsNull() {
            addCriterion("club_id is null");
            return (Criteria) this;
        }

        public Criteria andClubIdIsNotNull() {
            addCriterion("club_id is not null");
            return (Criteria) this;
        }

        public Criteria andClubIdEqualTo(Integer value) {
            addCriterion("club_id =", value, "clubId");
            return (Criteria) this;
        }

        public Criteria andClubIdNotEqualTo(Integer value) {
            addCriterion("club_id <>", value, "clubId");
            return (Criteria) this;
        }

        public Criteria andClubIdGreaterThan(Integer value) {
            addCriterion("club_id >", value, "clubId");
            return (Criteria) this;
        }

        public Criteria andClubIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("club_id >=", value, "clubId");
            return (Criteria) this;
        }

        public Criteria andClubIdLessThan(Integer value) {
            addCriterion("club_id <", value, "clubId");
            return (Criteria) this;
        }

        public Criteria andClubIdLessThanOrEqualTo(Integer value) {
            addCriterion("club_id <=", value, "clubId");
            return (Criteria) this;
        }

        public Criteria andClubIdIn(List<Integer> values) {
            addCriterion("club_id in", values, "clubId");
            return (Criteria) this;
        }

        public Criteria andClubIdNotIn(List<Integer> values) {
            addCriterion("club_id not in", values, "clubId");
            return (Criteria) this;
        }

        public Criteria andClubIdBetween(Integer value1, Integer value2) {
            addCriterion("club_id between", value1, value2, "clubId");
            return (Criteria) this;
        }

        public Criteria andClubIdNotBetween(Integer value1, Integer value2) {
            addCriterion("club_id not between", value1, value2, "clubId");
            return (Criteria) this;
        }

        public Criteria andClubNameIsNull() {
            addCriterion("club_name is null");
            return (Criteria) this;
        }

        public Criteria andClubNameIsNotNull() {
            addCriterion("club_name is not null");
            return (Criteria) this;
        }

        public Criteria andClubNameEqualTo(String value) {
            addCriterion("club_name =", value, "clubName");
            return (Criteria) this;
        }

        public Criteria andClubNameNotEqualTo(String value) {
            addCriterion("club_name <>", value, "clubName");
            return (Criteria) this;
        }

        public Criteria andClubNameGreaterThan(String value) {
            addCriterion("club_name >", value, "clubName");
            return (Criteria) this;
        }

        public Criteria andClubNameGreaterThanOrEqualTo(String value) {
            addCriterion("club_name >=", value, "clubName");
            return (Criteria) this;
        }

        public Criteria andClubNameLessThan(String value) {
            addCriterion("club_name <", value, "clubName");
            return (Criteria) this;
        }

        public Criteria andClubNameLessThanOrEqualTo(String value) {
            addCriterion("club_name <=", value, "clubName");
            return (Criteria) this;
        }

        public Criteria andClubNameLike(String value) {
            addCriterion("club_name like", value, "clubName");
            return (Criteria) this;
        }

        public Criteria andClubNameNotLike(String value) {
            addCriterion("club_name not like", value, "clubName");
            return (Criteria) this;
        }

        public Criteria andClubNameIn(List<String> values) {
            addCriterion("club_name in", values, "clubName");
            return (Criteria) this;
        }

        public Criteria andClubNameNotIn(List<String> values) {
            addCriterion("club_name not in", values, "clubName");
            return (Criteria) this;
        }

        public Criteria andClubNameBetween(String value1, String value2) {
            addCriterion("club_name between", value1, value2, "clubName");
            return (Criteria) this;
        }

        public Criteria andClubNameNotBetween(String value1, String value2) {
            addCriterion("club_name not between", value1, value2, "clubName");
            return (Criteria) this;
        }

        public Criteria andActivityTypeIsNull() {
            addCriterion("activity_type is null");
            return (Criteria) this;
        }

        public Criteria andActivityTypeIsNotNull() {
            addCriterion("activity_type is not null");
            return (Criteria) this;
        }

        public Criteria andActivityTypeEqualTo(Byte value) {
            addCriterion("activity_type =", value, "activityType");
            return (Criteria) this;
        }

        public Criteria andActivityTypeNotEqualTo(Byte value) {
            addCriterion("activity_type <>", value, "activityType");
            return (Criteria) this;
        }

        public Criteria andActivityTypeGreaterThan(Byte value) {
            addCriterion("activity_type >", value, "activityType");
            return (Criteria) this;
        }

        public Criteria andActivityTypeGreaterThanOrEqualTo(Byte value) {
            addCriterion("activity_type >=", value, "activityType");
            return (Criteria) this;
        }

        public Criteria andActivityTypeLessThan(Byte value) {
            addCriterion("activity_type <", value, "activityType");
            return (Criteria) this;
        }

        public Criteria andActivityTypeLessThanOrEqualTo(Byte value) {
            addCriterion("activity_type <=", value, "activityType");
            return (Criteria) this;
        }

        public Criteria andActivityTypeIn(List<Byte> values) {
            addCriterion("activity_type in", values, "activityType");
            return (Criteria) this;
        }

        public Criteria andActivityTypeNotIn(List<Byte> values) {
            addCriterion("activity_type not in", values, "activityType");
            return (Criteria) this;
        }

        public Criteria andActivityTypeBetween(Byte value1, Byte value2) {
            addCriterion("activity_type between", value1, value2, "activityType");
            return (Criteria) this;
        }

        public Criteria andActivityTypeNotBetween(Byte value1, Byte value2) {
            addCriterion("activity_type not between", value1, value2, "activityType");
            return (Criteria) this;
        }

        public Criteria andActivityCycleIsNull() {
            addCriterion("activity_cycle is null");
            return (Criteria) this;
        }

        public Criteria andActivityCycleIsNotNull() {
            addCriterion("activity_cycle is not null");
            return (Criteria) this;
        }

        public Criteria andActivityCycleEqualTo(Boolean value) {
            addCriterion("activity_cycle =", value, "activityCycle");
            return (Criteria) this;
        }

        public Criteria andActivityCycleNotEqualTo(Boolean value) {
            addCriterion("activity_cycle <>", value, "activityCycle");
            return (Criteria) this;
        }

        public Criteria andActivityCycleGreaterThan(Boolean value) {
            addCriterion("activity_cycle >", value, "activityCycle");
            return (Criteria) this;
        }

        public Criteria andActivityCycleGreaterThanOrEqualTo(Boolean value) {
            addCriterion("activity_cycle >=", value, "activityCycle");
            return (Criteria) this;
        }

        public Criteria andActivityCycleLessThan(Boolean value) {
            addCriterion("activity_cycle <", value, "activityCycle");
            return (Criteria) this;
        }

        public Criteria andActivityCycleLessThanOrEqualTo(Boolean value) {
            addCriterion("activity_cycle <=", value, "activityCycle");
            return (Criteria) this;
        }

        public Criteria andActivityCycleIn(List<Boolean> values) {
            addCriterion("activity_cycle in", values, "activityCycle");
            return (Criteria) this;
        }

        public Criteria andActivityCycleNotIn(List<Boolean> values) {
            addCriterion("activity_cycle not in", values, "activityCycle");
            return (Criteria) this;
        }

        public Criteria andActivityCycleBetween(Boolean value1, Boolean value2) {
            addCriterion("activity_cycle between", value1, value2, "activityCycle");
            return (Criteria) this;
        }

        public Criteria andActivityCycleNotBetween(Boolean value1, Boolean value2) {
            addCriterion("activity_cycle not between", value1, value2, "activityCycle");
            return (Criteria) this;
        }

        public Criteria andCategoryIdIsNull() {
            addCriterion("category_id is null");
            return (Criteria) this;
        }

        public Criteria andCategoryIdIsNotNull() {
            addCriterion("category_id is not null");
            return (Criteria) this;
        }

        public Criteria andCategoryIdEqualTo(Integer value) {
            addCriterion("category_id =", value, "categoryId");
            return (Criteria) this;
        }

        public Criteria andCategoryIdNotEqualTo(Integer value) {
            addCriterion("category_id <>", value, "categoryId");
            return (Criteria) this;
        }

        public Criteria andCategoryIdGreaterThan(Integer value) {
            addCriterion("category_id >", value, "categoryId");
            return (Criteria) this;
        }

        public Criteria andCategoryIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("category_id >=", value, "categoryId");
            return (Criteria) this;
        }

        public Criteria andCategoryIdLessThan(Integer value) {
            addCriterion("category_id <", value, "categoryId");
            return (Criteria) this;
        }

        public Criteria andCategoryIdLessThanOrEqualTo(Integer value) {
            addCriterion("category_id <=", value, "categoryId");
            return (Criteria) this;
        }

        public Criteria andCategoryIdIn(List<Integer> values) {
            addCriterion("category_id in", values, "categoryId");
            return (Criteria) this;
        }

        public Criteria andCategoryIdNotIn(List<Integer> values) {
            addCriterion("category_id not in", values, "categoryId");
            return (Criteria) this;
        }

        public Criteria andCategoryIdBetween(Integer value1, Integer value2) {
            addCriterion("category_id between", value1, value2, "categoryId");
            return (Criteria) this;
        }

        public Criteria andCategoryIdNotBetween(Integer value1, Integer value2) {
            addCriterion("category_id not between", value1, value2, "categoryId");
            return (Criteria) this;
        }

        public Criteria andWeekRangeIsNull() {
            addCriterion("week_range is null");
            return (Criteria) this;
        }

        public Criteria andWeekRangeIsNotNull() {
            addCriterion("week_range is not null");
            return (Criteria) this;
        }

        public Criteria andWeekRangeEqualTo(Byte value) {
            addCriterion("week_range =", value, "weekRange");
            return (Criteria) this;
        }

        public Criteria andWeekRangeNotEqualTo(Byte value) {
            addCriterion("week_range <>", value, "weekRange");
            return (Criteria) this;
        }

        public Criteria andWeekRangeGreaterThan(Byte value) {
            addCriterion("week_range >", value, "weekRange");
            return (Criteria) this;
        }

        public Criteria andWeekRangeGreaterThanOrEqualTo(Byte value) {
            addCriterion("week_range >=", value, "weekRange");
            return (Criteria) this;
        }

        public Criteria andWeekRangeLessThan(Byte value) {
            addCriterion("week_range <", value, "weekRange");
            return (Criteria) this;
        }

        public Criteria andWeekRangeLessThanOrEqualTo(Byte value) {
            addCriterion("week_range <=", value, "weekRange");
            return (Criteria) this;
        }

        public Criteria andWeekRangeIn(List<Byte> values) {
            addCriterion("week_range in", values, "weekRange");
            return (Criteria) this;
        }

        public Criteria andWeekRangeNotIn(List<Byte> values) {
            addCriterion("week_range not in", values, "weekRange");
            return (Criteria) this;
        }

        public Criteria andWeekRangeBetween(Byte value1, Byte value2) {
            addCriterion("week_range between", value1, value2, "weekRange");
            return (Criteria) this;
        }

        public Criteria andWeekRangeNotBetween(Byte value1, Byte value2) {
            addCriterion("week_range not between", value1, value2, "weekRange");
            return (Criteria) this;
        }

        public Criteria andIsPrimeTimeIsNull() {
            addCriterion("is_prime_time is null");
            return (Criteria) this;
        }

        public Criteria andIsPrimeTimeIsNotNull() {
            addCriterion("is_prime_time is not null");
            return (Criteria) this;
        }

        public Criteria andIsPrimeTimeEqualTo(Byte value) {
            addCriterion("is_prime_time =", value, "isPrimeTime");
            return (Criteria) this;
        }

        public Criteria andIsPrimeTimeNotEqualTo(Byte value) {
            addCriterion("is_prime_time <>", value, "isPrimeTime");
            return (Criteria) this;
        }

        public Criteria andIsPrimeTimeGreaterThan(Byte value) {
            addCriterion("is_prime_time >", value, "isPrimeTime");
            return (Criteria) this;
        }

        public Criteria andIsPrimeTimeGreaterThanOrEqualTo(Byte value) {
            addCriterion("is_prime_time >=", value, "isPrimeTime");
            return (Criteria) this;
        }

        public Criteria andIsPrimeTimeLessThan(Byte value) {
            addCriterion("is_prime_time <", value, "isPrimeTime");
            return (Criteria) this;
        }

        public Criteria andIsPrimeTimeLessThanOrEqualTo(Byte value) {
            addCriterion("is_prime_time <=", value, "isPrimeTime");
            return (Criteria) this;
        }

        public Criteria andIsPrimeTimeIn(List<Byte> values) {
            addCriterion("is_prime_time in", values, "isPrimeTime");
            return (Criteria) this;
        }

        public Criteria andIsPrimeTimeNotIn(List<Byte> values) {
            addCriterion("is_prime_time not in", values, "isPrimeTime");
            return (Criteria) this;
        }

        public Criteria andIsPrimeTimeBetween(Byte value1, Byte value2) {
            addCriterion("is_prime_time between", value1, value2, "isPrimeTime");
            return (Criteria) this;
        }

        public Criteria andIsPrimeTimeNotBetween(Byte value1, Byte value2) {
            addCriterion("is_prime_time not between", value1, value2, "isPrimeTime");
            return (Criteria) this;
        }

        public Criteria andIsCancelSignUpIsNull() {
            addCriterion("is_cancel_sign_up is null");
            return (Criteria) this;
        }

        public Criteria andIsCancelSignUpIsNotNull() {
            addCriterion("is_cancel_sign_up is not null");
            return (Criteria) this;
        }

        public Criteria andIsCancelSignUpEqualTo(Byte value) {
            addCriterion("is_cancel_sign_up =", value, "isCancelSignUp");
            return (Criteria) this;
        }

        public Criteria andIsCancelSignUpNotEqualTo(Byte value) {
            addCriterion("is_cancel_sign_up <>", value, "isCancelSignUp");
            return (Criteria) this;
        }

        public Criteria andIsCancelSignUpGreaterThan(Byte value) {
            addCriterion("is_cancel_sign_up >", value, "isCancelSignUp");
            return (Criteria) this;
        }

        public Criteria andIsCancelSignUpGreaterThanOrEqualTo(Byte value) {
            addCriterion("is_cancel_sign_up >=", value, "isCancelSignUp");
            return (Criteria) this;
        }

        public Criteria andIsCancelSignUpLessThan(Byte value) {
            addCriterion("is_cancel_sign_up <", value, "isCancelSignUp");
            return (Criteria) this;
        }

        public Criteria andIsCancelSignUpLessThanOrEqualTo(Byte value) {
            addCriterion("is_cancel_sign_up <=", value, "isCancelSignUp");
            return (Criteria) this;
        }

        public Criteria andIsCancelSignUpIn(List<Byte> values) {
            addCriterion("is_cancel_sign_up in", values, "isCancelSignUp");
            return (Criteria) this;
        }

        public Criteria andIsCancelSignUpNotIn(List<Byte> values) {
            addCriterion("is_cancel_sign_up not in", values, "isCancelSignUp");
            return (Criteria) this;
        }

        public Criteria andIsCancelSignUpBetween(Byte value1, Byte value2) {
            addCriterion("is_cancel_sign_up between", value1, value2, "isCancelSignUp");
            return (Criteria) this;
        }

        public Criteria andIsCancelSignUpNotBetween(Byte value1, Byte value2) {
            addCriterion("is_cancel_sign_up not between", value1, value2, "isCancelSignUp");
            return (Criteria) this;
        }

        public Criteria andCancelTimeLimitIsNull() {
            addCriterion("cancel_time_limit is null");
            return (Criteria) this;
        }

        public Criteria andCancelTimeLimitIsNotNull() {
            addCriterion("cancel_time_limit is not null");
            return (Criteria) this;
        }

        public Criteria andCancelTimeLimitEqualTo(Byte value) {
            addCriterion("cancel_time_limit =", value, "cancelTimeLimit");
            return (Criteria) this;
        }

        public Criteria andCancelTimeLimitNotEqualTo(Byte value) {
            addCriterion("cancel_time_limit <>", value, "cancelTimeLimit");
            return (Criteria) this;
        }

        public Criteria andCancelTimeLimitGreaterThan(Byte value) {
            addCriterion("cancel_time_limit >", value, "cancelTimeLimit");
            return (Criteria) this;
        }

        public Criteria andCancelTimeLimitGreaterThanOrEqualTo(Byte value) {
            addCriterion("cancel_time_limit >=", value, "cancelTimeLimit");
            return (Criteria) this;
        }

        public Criteria andCancelTimeLimitLessThan(Byte value) {
            addCriterion("cancel_time_limit <", value, "cancelTimeLimit");
            return (Criteria) this;
        }

        public Criteria andCancelTimeLimitLessThanOrEqualTo(Byte value) {
            addCriterion("cancel_time_limit <=", value, "cancelTimeLimit");
            return (Criteria) this;
        }

        public Criteria andCancelTimeLimitIn(List<Byte> values) {
            addCriterion("cancel_time_limit in", values, "cancelTimeLimit");
            return (Criteria) this;
        }

        public Criteria andCancelTimeLimitNotIn(List<Byte> values) {
            addCriterion("cancel_time_limit not in", values, "cancelTimeLimit");
            return (Criteria) this;
        }

        public Criteria andCancelTimeLimitBetween(Byte value1, Byte value2) {
            addCriterion("cancel_time_limit between", value1, value2, "cancelTimeLimit");
            return (Criteria) this;
        }

        public Criteria andCancelTimeLimitNotBetween(Byte value1, Byte value2) {
            addCriterion("cancel_time_limit not between", value1, value2, "cancelTimeLimit");
            return (Criteria) this;
        }

        public Criteria andSignUpMinIsNull() {
            addCriterion("sign_up_min is null");
            return (Criteria) this;
        }

        public Criteria andSignUpMinIsNotNull() {
            addCriterion("sign_up_min is not null");
            return (Criteria) this;
        }

        public Criteria andSignUpMinEqualTo(Integer value) {
            addCriterion("sign_up_min =", value, "signUpMin");
            return (Criteria) this;
        }

        public Criteria andSignUpMinNotEqualTo(Integer value) {
            addCriterion("sign_up_min <>", value, "signUpMin");
            return (Criteria) this;
        }

        public Criteria andSignUpMinGreaterThan(Integer value) {
            addCriterion("sign_up_min >", value, "signUpMin");
            return (Criteria) this;
        }

        public Criteria andSignUpMinGreaterThanOrEqualTo(Integer value) {
            addCriterion("sign_up_min >=", value, "signUpMin");
            return (Criteria) this;
        }

        public Criteria andSignUpMinLessThan(Integer value) {
            addCriterion("sign_up_min <", value, "signUpMin");
            return (Criteria) this;
        }

        public Criteria andSignUpMinLessThanOrEqualTo(Integer value) {
            addCriterion("sign_up_min <=", value, "signUpMin");
            return (Criteria) this;
        }

        public Criteria andSignUpMinIn(List<Integer> values) {
            addCriterion("sign_up_min in", values, "signUpMin");
            return (Criteria) this;
        }

        public Criteria andSignUpMinNotIn(List<Integer> values) {
            addCriterion("sign_up_min not in", values, "signUpMin");
            return (Criteria) this;
        }

        public Criteria andSignUpMinBetween(Integer value1, Integer value2) {
            addCriterion("sign_up_min between", value1, value2, "signUpMin");
            return (Criteria) this;
        }

        public Criteria andSignUpMinNotBetween(Integer value1, Integer value2) {
            addCriterion("sign_up_min not between", value1, value2, "signUpMin");
            return (Criteria) this;
        }

        public Criteria andFeeTypeIsNull() {
            addCriterion("fee_type is null");
            return (Criteria) this;
        }

        public Criteria andFeeTypeIsNotNull() {
            addCriterion("fee_type is not null");
            return (Criteria) this;
        }

        public Criteria andFeeTypeEqualTo(Byte value) {
            addCriterion("fee_type =", value, "feeType");
            return (Criteria) this;
        }

        public Criteria andFeeTypeNotEqualTo(Byte value) {
            addCriterion("fee_type <>", value, "feeType");
            return (Criteria) this;
        }

        public Criteria andFeeTypeGreaterThan(Byte value) {
            addCriterion("fee_type >", value, "feeType");
            return (Criteria) this;
        }

        public Criteria andFeeTypeGreaterThanOrEqualTo(Byte value) {
            addCriterion("fee_type >=", value, "feeType");
            return (Criteria) this;
        }

        public Criteria andFeeTypeLessThan(Byte value) {
            addCriterion("fee_type <", value, "feeType");
            return (Criteria) this;
        }

        public Criteria andFeeTypeLessThanOrEqualTo(Byte value) {
            addCriterion("fee_type <=", value, "feeType");
            return (Criteria) this;
        }

        public Criteria andFeeTypeIn(List<Byte> values) {
            addCriterion("fee_type in", values, "feeType");
            return (Criteria) this;
        }

        public Criteria andFeeTypeNotIn(List<Byte> values) {
            addCriterion("fee_type not in", values, "feeType");
            return (Criteria) this;
        }

        public Criteria andFeeTypeBetween(Byte value1, Byte value2) {
            addCriterion("fee_type between", value1, value2, "feeType");
            return (Criteria) this;
        }

        public Criteria andFeeTypeNotBetween(Byte value1, Byte value2) {
            addCriterion("fee_type not between", value1, value2, "feeType");
            return (Criteria) this;
        }

        public Criteria andAaTotalIsNull() {
            addCriterion("aa_total is null");
            return (Criteria) this;
        }

        public Criteria andAaTotalIsNotNull() {
            addCriterion("aa_total is not null");
            return (Criteria) this;
        }

        public Criteria andAaTotalEqualTo(BigDecimal value) {
            addCriterion("aa_total =", value, "aaTotal");
            return (Criteria) this;
        }

        public Criteria andAaTotalNotEqualTo(BigDecimal value) {
            addCriterion("aa_total <>", value, "aaTotal");
            return (Criteria) this;
        }

        public Criteria andAaTotalGreaterThan(BigDecimal value) {
            addCriterion("aa_total >", value, "aaTotal");
            return (Criteria) this;
        }

        public Criteria andAaTotalGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("aa_total >=", value, "aaTotal");
            return (Criteria) this;
        }

        public Criteria andAaTotalLessThan(BigDecimal value) {
            addCriterion("aa_total <", value, "aaTotal");
            return (Criteria) this;
        }

        public Criteria andAaTotalLessThanOrEqualTo(BigDecimal value) {
            addCriterion("aa_total <=", value, "aaTotal");
            return (Criteria) this;
        }

        public Criteria andAaTotalIn(List<BigDecimal> values) {
            addCriterion("aa_total in", values, "aaTotal");
            return (Criteria) this;
        }

        public Criteria andAaTotalNotIn(List<BigDecimal> values) {
            addCriterion("aa_total not in", values, "aaTotal");
            return (Criteria) this;
        }

        public Criteria andAaTotalBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("aa_total between", value1, value2, "aaTotal");
            return (Criteria) this;
        }

        public Criteria andAaTotalNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("aa_total not between", value1, value2, "aaTotal");
            return (Criteria) this;
        }

        public Criteria andAaFeeIsNull() {
            addCriterion("aa_fee is null");
            return (Criteria) this;
        }

        public Criteria andAaFeeIsNotNull() {
            addCriterion("aa_fee is not null");
            return (Criteria) this;
        }

        public Criteria andAaFeeEqualTo(BigDecimal value) {
            addCriterion("aa_fee =", value, "aaFee");
            return (Criteria) this;
        }

        public Criteria andAaFeeNotEqualTo(BigDecimal value) {
            addCriterion("aa_fee <>", value, "aaFee");
            return (Criteria) this;
        }

        public Criteria andAaFeeGreaterThan(BigDecimal value) {
            addCriterion("aa_fee >", value, "aaFee");
            return (Criteria) this;
        }

        public Criteria andAaFeeGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("aa_fee >=", value, "aaFee");
            return (Criteria) this;
        }

        public Criteria andAaFeeLessThan(BigDecimal value) {
            addCriterion("aa_fee <", value, "aaFee");
            return (Criteria) this;
        }

        public Criteria andAaFeeLessThanOrEqualTo(BigDecimal value) {
            addCriterion("aa_fee <=", value, "aaFee");
            return (Criteria) this;
        }

        public Criteria andAaFeeIn(List<BigDecimal> values) {
            addCriterion("aa_fee in", values, "aaFee");
            return (Criteria) this;
        }

        public Criteria andAaFeeNotIn(List<BigDecimal> values) {
            addCriterion("aa_fee not in", values, "aaFee");
            return (Criteria) this;
        }

        public Criteria andAaFeeBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("aa_fee between", value1, value2, "aaFee");
            return (Criteria) this;
        }

        public Criteria andAaFeeNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("aa_fee not between", value1, value2, "aaFee");
            return (Criteria) this;
        }

        public Criteria andMaleMemberFeeIsNull() {
            addCriterion("male_member_fee is null");
            return (Criteria) this;
        }

        public Criteria andMaleMemberFeeIsNotNull() {
            addCriterion("male_member_fee is not null");
            return (Criteria) this;
        }

        public Criteria andMaleMemberFeeEqualTo(BigDecimal value) {
            addCriterion("male_member_fee =", value, "maleMemberFee");
            return (Criteria) this;
        }

        public Criteria andMaleMemberFeeNotEqualTo(BigDecimal value) {
            addCriterion("male_member_fee <>", value, "maleMemberFee");
            return (Criteria) this;
        }

        public Criteria andMaleMemberFeeGreaterThan(BigDecimal value) {
            addCriterion("male_member_fee >", value, "maleMemberFee");
            return (Criteria) this;
        }

        public Criteria andMaleMemberFeeGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("male_member_fee >=", value, "maleMemberFee");
            return (Criteria) this;
        }

        public Criteria andMaleMemberFeeLessThan(BigDecimal value) {
            addCriterion("male_member_fee <", value, "maleMemberFee");
            return (Criteria) this;
        }

        public Criteria andMaleMemberFeeLessThanOrEqualTo(BigDecimal value) {
            addCriterion("male_member_fee <=", value, "maleMemberFee");
            return (Criteria) this;
        }

        public Criteria andMaleMemberFeeIn(List<BigDecimal> values) {
            addCriterion("male_member_fee in", values, "maleMemberFee");
            return (Criteria) this;
        }

        public Criteria andMaleMemberFeeNotIn(List<BigDecimal> values) {
            addCriterion("male_member_fee not in", values, "maleMemberFee");
            return (Criteria) this;
        }

        public Criteria andMaleMemberFeeBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("male_member_fee between", value1, value2, "maleMemberFee");
            return (Criteria) this;
        }

        public Criteria andMaleMemberFeeNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("male_member_fee not between", value1, value2, "maleMemberFee");
            return (Criteria) this;
        }

        public Criteria andFemaleMemberFeeIsNull() {
            addCriterion("female_member_fee is null");
            return (Criteria) this;
        }

        public Criteria andFemaleMemberFeeIsNotNull() {
            addCriterion("female_member_fee is not null");
            return (Criteria) this;
        }

        public Criteria andFemaleMemberFeeEqualTo(BigDecimal value) {
            addCriterion("female_member_fee =", value, "femaleMemberFee");
            return (Criteria) this;
        }

        public Criteria andFemaleMemberFeeNotEqualTo(BigDecimal value) {
            addCriterion("female_member_fee <>", value, "femaleMemberFee");
            return (Criteria) this;
        }

        public Criteria andFemaleMemberFeeGreaterThan(BigDecimal value) {
            addCriterion("female_member_fee >", value, "femaleMemberFee");
            return (Criteria) this;
        }

        public Criteria andFemaleMemberFeeGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("female_member_fee >=", value, "femaleMemberFee");
            return (Criteria) this;
        }

        public Criteria andFemaleMemberFeeLessThan(BigDecimal value) {
            addCriterion("female_member_fee <", value, "femaleMemberFee");
            return (Criteria) this;
        }

        public Criteria andFemaleMemberFeeLessThanOrEqualTo(BigDecimal value) {
            addCriterion("female_member_fee <=", value, "femaleMemberFee");
            return (Criteria) this;
        }

        public Criteria andFemaleMemberFeeIn(List<BigDecimal> values) {
            addCriterion("female_member_fee in", values, "femaleMemberFee");
            return (Criteria) this;
        }

        public Criteria andFemaleMemberFeeNotIn(List<BigDecimal> values) {
            addCriterion("female_member_fee not in", values, "femaleMemberFee");
            return (Criteria) this;
        }

        public Criteria andFemaleMemberFeeBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("female_member_fee between", value1, value2, "femaleMemberFee");
            return (Criteria) this;
        }

        public Criteria andFemaleMemberFeeNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("female_member_fee not between", value1, value2, "femaleMemberFee");
            return (Criteria) this;
        }

        public Criteria andFemaleFeeIsNull() {
            addCriterion("female_fee is null");
            return (Criteria) this;
        }

        public Criteria andFemaleFeeIsNotNull() {
            addCriterion("female_fee is not null");
            return (Criteria) this;
        }

        public Criteria andFemaleFeeEqualTo(BigDecimal value) {
            addCriterion("female_fee =", value, "femaleFee");
            return (Criteria) this;
        }

        public Criteria andFemaleFeeNotEqualTo(BigDecimal value) {
            addCriterion("female_fee <>", value, "femaleFee");
            return (Criteria) this;
        }

        public Criteria andFemaleFeeGreaterThan(BigDecimal value) {
            addCriterion("female_fee >", value, "femaleFee");
            return (Criteria) this;
        }

        public Criteria andFemaleFeeGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("female_fee >=", value, "femaleFee");
            return (Criteria) this;
        }

        public Criteria andFemaleFeeLessThan(BigDecimal value) {
            addCriterion("female_fee <", value, "femaleFee");
            return (Criteria) this;
        }

        public Criteria andFemaleFeeLessThanOrEqualTo(BigDecimal value) {
            addCriterion("female_fee <=", value, "femaleFee");
            return (Criteria) this;
        }

        public Criteria andFemaleFeeIn(List<BigDecimal> values) {
            addCriterion("female_fee in", values, "femaleFee");
            return (Criteria) this;
        }

        public Criteria andFemaleFeeNotIn(List<BigDecimal> values) {
            addCriterion("female_fee not in", values, "femaleFee");
            return (Criteria) this;
        }

        public Criteria andFemaleFeeBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("female_fee between", value1, value2, "femaleFee");
            return (Criteria) this;
        }

        public Criteria andFemaleFeeNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("female_fee not between", value1, value2, "femaleFee");
            return (Criteria) this;
        }

        public Criteria andMaleFeeIsNull() {
            addCriterion("male_fee is null");
            return (Criteria) this;
        }

        public Criteria andMaleFeeIsNotNull() {
            addCriterion("male_fee is not null");
            return (Criteria) this;
        }

        public Criteria andMaleFeeEqualTo(BigDecimal value) {
            addCriterion("male_fee =", value, "maleFee");
            return (Criteria) this;
        }

        public Criteria andMaleFeeNotEqualTo(BigDecimal value) {
            addCriterion("male_fee <>", value, "maleFee");
            return (Criteria) this;
        }

        public Criteria andMaleFeeGreaterThan(BigDecimal value) {
            addCriterion("male_fee >", value, "maleFee");
            return (Criteria) this;
        }

        public Criteria andMaleFeeGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("male_fee >=", value, "maleFee");
            return (Criteria) this;
        }

        public Criteria andMaleFeeLessThan(BigDecimal value) {
            addCriterion("male_fee <", value, "maleFee");
            return (Criteria) this;
        }

        public Criteria andMaleFeeLessThanOrEqualTo(BigDecimal value) {
            addCriterion("male_fee <=", value, "maleFee");
            return (Criteria) this;
        }

        public Criteria andMaleFeeIn(List<BigDecimal> values) {
            addCriterion("male_fee in", values, "maleFee");
            return (Criteria) this;
        }

        public Criteria andMaleFeeNotIn(List<BigDecimal> values) {
            addCriterion("male_fee not in", values, "maleFee");
            return (Criteria) this;
        }

        public Criteria andMaleFeeBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("male_fee between", value1, value2, "maleFee");
            return (Criteria) this;
        }

        public Criteria andMaleFeeNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("male_fee not between", value1, value2, "maleFee");
            return (Criteria) this;
        }

        public Criteria andFaceLevelIsNull() {
            addCriterion("face_level is null");
            return (Criteria) this;
        }

        public Criteria andFaceLevelIsNotNull() {
            addCriterion("face_level is not null");
            return (Criteria) this;
        }

        public Criteria andFaceLevelEqualTo(Byte value) {
            addCriterion("face_level =", value, "faceLevel");
            return (Criteria) this;
        }

        public Criteria andFaceLevelNotEqualTo(Byte value) {
            addCriterion("face_level <>", value, "faceLevel");
            return (Criteria) this;
        }

        public Criteria andFaceLevelGreaterThan(Byte value) {
            addCriterion("face_level >", value, "faceLevel");
            return (Criteria) this;
        }

        public Criteria andFaceLevelGreaterThanOrEqualTo(Byte value) {
            addCriterion("face_level >=", value, "faceLevel");
            return (Criteria) this;
        }

        public Criteria andFaceLevelLessThan(Byte value) {
            addCriterion("face_level <", value, "faceLevel");
            return (Criteria) this;
        }

        public Criteria andFaceLevelLessThanOrEqualTo(Byte value) {
            addCriterion("face_level <=", value, "faceLevel");
            return (Criteria) this;
        }

        public Criteria andFaceLevelIn(List<Byte> values) {
            addCriterion("face_level in", values, "faceLevel");
            return (Criteria) this;
        }

        public Criteria andFaceLevelNotIn(List<Byte> values) {
            addCriterion("face_level not in", values, "faceLevel");
            return (Criteria) this;
        }

        public Criteria andFaceLevelBetween(Byte value1, Byte value2) {
            addCriterion("face_level between", value1, value2, "faceLevel");
            return (Criteria) this;
        }

        public Criteria andFaceLevelNotBetween(Byte value1, Byte value2) {
            addCriterion("face_level not between", value1, value2, "faceLevel");
            return (Criteria) this;
        }

        public Criteria andSignUpTypeIsNull() {
            addCriterion("sign_up_type is null");
            return (Criteria) this;
        }

        public Criteria andSignUpTypeIsNotNull() {
            addCriterion("sign_up_type is not null");
            return (Criteria) this;
        }

        public Criteria andSignUpTypeEqualTo(Byte value) {
            addCriterion("sign_up_type =", value, "signUpType");
            return (Criteria) this;
        }

        public Criteria andSignUpTypeNotEqualTo(Byte value) {
            addCriterion("sign_up_type <>", value, "signUpType");
            return (Criteria) this;
        }

        public Criteria andSignUpTypeGreaterThan(Byte value) {
            addCriterion("sign_up_type >", value, "signUpType");
            return (Criteria) this;
        }

        public Criteria andSignUpTypeGreaterThanOrEqualTo(Byte value) {
            addCriterion("sign_up_type >=", value, "signUpType");
            return (Criteria) this;
        }

        public Criteria andSignUpTypeLessThan(Byte value) {
            addCriterion("sign_up_type <", value, "signUpType");
            return (Criteria) this;
        }

        public Criteria andSignUpTypeLessThanOrEqualTo(Byte value) {
            addCriterion("sign_up_type <=", value, "signUpType");
            return (Criteria) this;
        }

        public Criteria andSignUpTypeIn(List<Byte> values) {
            addCriterion("sign_up_type in", values, "signUpType");
            return (Criteria) this;
        }

        public Criteria andSignUpTypeNotIn(List<Byte> values) {
            addCriterion("sign_up_type not in", values, "signUpType");
            return (Criteria) this;
        }

        public Criteria andSignUpTypeBetween(Byte value1, Byte value2) {
            addCriterion("sign_up_type between", value1, value2, "signUpType");
            return (Criteria) this;
        }

        public Criteria andSignUpTypeNotBetween(Byte value1, Byte value2) {
            addCriterion("sign_up_type not between", value1, value2, "signUpType");
            return (Criteria) this;
        }

        public Criteria andCycleRangeIsNull() {
            addCriterion("cycle_range is null");
            return (Criteria) this;
        }

        public Criteria andCycleRangeIsNotNull() {
            addCriterion("cycle_range is not null");
            return (Criteria) this;
        }

        public Criteria andCycleRangeEqualTo(String value) {
            addCriterion("cycle_range =", value, "cycleRange");
            return (Criteria) this;
        }

        public Criteria andCycleRangeNotEqualTo(String value) {
            addCriterion("cycle_range <>", value, "cycleRange");
            return (Criteria) this;
        }

        public Criteria andCycleRangeGreaterThan(String value) {
            addCriterion("cycle_range >", value, "cycleRange");
            return (Criteria) this;
        }

        public Criteria andCycleRangeGreaterThanOrEqualTo(String value) {
            addCriterion("cycle_range >=", value, "cycleRange");
            return (Criteria) this;
        }

        public Criteria andCycleRangeLessThan(String value) {
            addCriterion("cycle_range <", value, "cycleRange");
            return (Criteria) this;
        }

        public Criteria andCycleRangeLessThanOrEqualTo(String value) {
            addCriterion("cycle_range <=", value, "cycleRange");
            return (Criteria) this;
        }

        public Criteria andCycleRangeLike(String value) {
            addCriterion("cycle_range like", value, "cycleRange");
            return (Criteria) this;
        }

        public Criteria andCycleRangeNotLike(String value) {
            addCriterion("cycle_range not like", value, "cycleRange");
            return (Criteria) this;
        }

        public Criteria andCycleRangeIn(List<String> values) {
            addCriterion("cycle_range in", values, "cycleRange");
            return (Criteria) this;
        }

        public Criteria andCycleRangeNotIn(List<String> values) {
            addCriterion("cycle_range not in", values, "cycleRange");
            return (Criteria) this;
        }

        public Criteria andCycleRangeBetween(String value1, String value2) {
            addCriterion("cycle_range between", value1, value2, "cycleRange");
            return (Criteria) this;
        }

        public Criteria andCycleRangeNotBetween(String value1, String value2) {
            addCriterion("cycle_range not between", value1, value2, "cycleRange");
            return (Criteria) this;
        }

        public Criteria andActivityRootIsNull() {
            addCriterion("activity_root is null");
            return (Criteria) this;
        }

        public Criteria andActivityRootIsNotNull() {
            addCriterion("activity_root is not null");
            return (Criteria) this;
        }

        public Criteria andActivityRootEqualTo(Integer value) {
            addCriterion("activity_root =", value, "activityRoot");
            return (Criteria) this;
        }

        public Criteria andActivityRootNotEqualTo(Integer value) {
            addCriterion("activity_root <>", value, "activityRoot");
            return (Criteria) this;
        }

        public Criteria andActivityRootGreaterThan(Integer value) {
            addCriterion("activity_root >", value, "activityRoot");
            return (Criteria) this;
        }

        public Criteria andActivityRootGreaterThanOrEqualTo(Integer value) {
            addCriterion("activity_root >=", value, "activityRoot");
            return (Criteria) this;
        }

        public Criteria andActivityRootLessThan(Integer value) {
            addCriterion("activity_root <", value, "activityRoot");
            return (Criteria) this;
        }

        public Criteria andActivityRootLessThanOrEqualTo(Integer value) {
            addCriterion("activity_root <=", value, "activityRoot");
            return (Criteria) this;
        }

        public Criteria andActivityRootIn(List<Integer> values) {
            addCriterion("activity_root in", values, "activityRoot");
            return (Criteria) this;
        }

        public Criteria andActivityRootNotIn(List<Integer> values) {
            addCriterion("activity_root not in", values, "activityRoot");
            return (Criteria) this;
        }

        public Criteria andActivityRootBetween(Integer value1, Integer value2) {
            addCriterion("activity_root between", value1, value2, "activityRoot");
            return (Criteria) this;
        }

        public Criteria andActivityRootNotBetween(Integer value1, Integer value2) {
            addCriterion("activity_root not between", value1, value2, "activityRoot");
            return (Criteria) this;
        }

        public Criteria andActivityStatusIsNull() {
            addCriterion("activity_status is null");
            return (Criteria) this;
        }

        public Criteria andActivityStatusIsNotNull() {
            addCriterion("activity_status is not null");
            return (Criteria) this;
        }

        public Criteria andActivityStatusEqualTo(Float value) {
            addCriterion("activity_status =", value, "activityStatus");
            return (Criteria) this;
        }

        public Criteria andActivityStatusNotEqualTo(Float value) {
            addCriterion("activity_status <>", value, "activityStatus");
            return (Criteria) this;
        }

        public Criteria andActivityStatusGreaterThan(Float value) {
            addCriterion("activity_status >", value, "activityStatus");
            return (Criteria) this;
        }

        public Criteria andActivityStatusGreaterThanOrEqualTo(Float value) {
            addCriterion("activity_status >=", value, "activityStatus");
            return (Criteria) this;
        }

        public Criteria andActivityStatusLessThan(Float value) {
            addCriterion("activity_status <", value, "activityStatus");
            return (Criteria) this;
        }

        public Criteria andActivityStatusLessThanOrEqualTo(Float value) {
            addCriterion("activity_status <=", value, "activityStatus");
            return (Criteria) this;
        }

        public Criteria andActivityStatusIn(List<Float> values) {
            addCriterion("activity_status in", values, "activityStatus");
            return (Criteria) this;
        }

        public Criteria andActivityStatusNotIn(List<Float> values) {
            addCriterion("activity_status not in", values, "activityStatus");
            return (Criteria) this;
        }

        public Criteria andActivityStatusBetween(Float value1, Float value2) {
            addCriterion("activity_status between", value1, value2, "activityStatus");
            return (Criteria) this;
        }

        public Criteria andActivityStatusNotBetween(Float value1, Float value2) {
            addCriterion("activity_status not between", value1, value2, "activityStatus");
            return (Criteria) this;
        }

        public Criteria andIsSearchIsNull() {
            addCriterion("is_search is null");
            return (Criteria) this;
        }

        public Criteria andIsSearchIsNotNull() {
            addCriterion("is_search is not null");
            return (Criteria) this;
        }

        public Criteria andIsSearchEqualTo(Byte value) {
            addCriterion("is_search =", value, "isSearch");
            return (Criteria) this;
        }

        public Criteria andIsSearchNotEqualTo(Byte value) {
            addCriterion("is_search <>", value, "isSearch");
            return (Criteria) this;
        }

        public Criteria andIsSearchGreaterThan(Byte value) {
            addCriterion("is_search >", value, "isSearch");
            return (Criteria) this;
        }

        public Criteria andIsSearchGreaterThanOrEqualTo(Byte value) {
            addCriterion("is_search >=", value, "isSearch");
            return (Criteria) this;
        }

        public Criteria andIsSearchLessThan(Byte value) {
            addCriterion("is_search <", value, "isSearch");
            return (Criteria) this;
        }

        public Criteria andIsSearchLessThanOrEqualTo(Byte value) {
            addCriterion("is_search <=", value, "isSearch");
            return (Criteria) this;
        }

        public Criteria andIsSearchIn(List<Byte> values) {
            addCriterion("is_search in", values, "isSearch");
            return (Criteria) this;
        }

        public Criteria andIsSearchNotIn(List<Byte> values) {
            addCriterion("is_search not in", values, "isSearch");
            return (Criteria) this;
        }

        public Criteria andIsSearchBetween(Byte value1, Byte value2) {
            addCriterion("is_search between", value1, value2, "isSearch");
            return (Criteria) this;
        }

        public Criteria andIsSearchNotBetween(Byte value1, Byte value2) {
            addCriterion("is_search not between", value1, value2, "isSearch");
            return (Criteria) this;
        }

        public Criteria andIsRecommendIsNull() {
            addCriterion("is_recommend is null");
            return (Criteria) this;
        }

        public Criteria andIsRecommendIsNotNull() {
            addCriterion("is_recommend is not null");
            return (Criteria) this;
        }

        public Criteria andIsRecommendEqualTo(Byte value) {
            addCriterion("is_recommend =", value, "isRecommend");
            return (Criteria) this;
        }

        public Criteria andIsRecommendNotEqualTo(Byte value) {
            addCriterion("is_recommend <>", value, "isRecommend");
            return (Criteria) this;
        }

        public Criteria andIsRecommendGreaterThan(Byte value) {
            addCriterion("is_recommend >", value, "isRecommend");
            return (Criteria) this;
        }

        public Criteria andIsRecommendGreaterThanOrEqualTo(Byte value) {
            addCriterion("is_recommend >=", value, "isRecommend");
            return (Criteria) this;
        }

        public Criteria andIsRecommendLessThan(Byte value) {
            addCriterion("is_recommend <", value, "isRecommend");
            return (Criteria) this;
        }

        public Criteria andIsRecommendLessThanOrEqualTo(Byte value) {
            addCriterion("is_recommend <=", value, "isRecommend");
            return (Criteria) this;
        }

        public Criteria andIsRecommendIn(List<Byte> values) {
            addCriterion("is_recommend in", values, "isRecommend");
            return (Criteria) this;
        }

        public Criteria andIsRecommendNotIn(List<Byte> values) {
            addCriterion("is_recommend not in", values, "isRecommend");
            return (Criteria) this;
        }

        public Criteria andIsRecommendBetween(Byte value1, Byte value2) {
            addCriterion("is_recommend between", value1, value2, "isRecommend");
            return (Criteria) this;
        }

        public Criteria andIsRecommendNotBetween(Byte value1, Byte value2) {
            addCriterion("is_recommend not between", value1, value2, "isRecommend");
            return (Criteria) this;
        }

        public Criteria andIsFirstIsNull() {
            addCriterion("is_first is null");
            return (Criteria) this;
        }

        public Criteria andIsFirstIsNotNull() {
            addCriterion("is_first is not null");
            return (Criteria) this;
        }

        public Criteria andIsFirstEqualTo(Byte value) {
            addCriterion("is_first =", value, "isFirst");
            return (Criteria) this;
        }

        public Criteria andIsFirstNotEqualTo(Byte value) {
            addCriterion("is_first <>", value, "isFirst");
            return (Criteria) this;
        }

        public Criteria andIsFirstGreaterThan(Byte value) {
            addCriterion("is_first >", value, "isFirst");
            return (Criteria) this;
        }

        public Criteria andIsFirstGreaterThanOrEqualTo(Byte value) {
            addCriterion("is_first >=", value, "isFirst");
            return (Criteria) this;
        }

        public Criteria andIsFirstLessThan(Byte value) {
            addCriterion("is_first <", value, "isFirst");
            return (Criteria) this;
        }

        public Criteria andIsFirstLessThanOrEqualTo(Byte value) {
            addCriterion("is_first <=", value, "isFirst");
            return (Criteria) this;
        }

        public Criteria andIsFirstIn(List<Byte> values) {
            addCriterion("is_first in", values, "isFirst");
            return (Criteria) this;
        }

        public Criteria andIsFirstNotIn(List<Byte> values) {
            addCriterion("is_first not in", values, "isFirst");
            return (Criteria) this;
        }

        public Criteria andIsFirstBetween(Byte value1, Byte value2) {
            addCriterion("is_first between", value1, value2, "isFirst");
            return (Criteria) this;
        }

        public Criteria andIsFirstNotBetween(Byte value1, Byte value2) {
            addCriterion("is_first not between", value1, value2, "isFirst");
            return (Criteria) this;
        }

        public Criteria andIsSettleIsNull() {
            addCriterion("is_settle is null");
            return (Criteria) this;
        }

        public Criteria andIsSettleIsNotNull() {
            addCriterion("is_settle is not null");
            return (Criteria) this;
        }

        public Criteria andIsSettleEqualTo(Byte value) {
            addCriterion("is_settle =", value, "isSettle");
            return (Criteria) this;
        }

        public Criteria andIsSettleNotEqualTo(Byte value) {
            addCriterion("is_settle <>", value, "isSettle");
            return (Criteria) this;
        }

        public Criteria andIsSettleGreaterThan(Byte value) {
            addCriterion("is_settle >", value, "isSettle");
            return (Criteria) this;
        }

        public Criteria andIsSettleGreaterThanOrEqualTo(Byte value) {
            addCriterion("is_settle >=", value, "isSettle");
            return (Criteria) this;
        }

        public Criteria andIsSettleLessThan(Byte value) {
            addCriterion("is_settle <", value, "isSettle");
            return (Criteria) this;
        }

        public Criteria andIsSettleLessThanOrEqualTo(Byte value) {
            addCriterion("is_settle <=", value, "isSettle");
            return (Criteria) this;
        }

        public Criteria andIsSettleIn(List<Byte> values) {
            addCriterion("is_settle in", values, "isSettle");
            return (Criteria) this;
        }

        public Criteria andIsSettleNotIn(List<Byte> values) {
            addCriterion("is_settle not in", values, "isSettle");
            return (Criteria) this;
        }

        public Criteria andIsSettleBetween(Byte value1, Byte value2) {
            addCriterion("is_settle between", value1, value2, "isSettle");
            return (Criteria) this;
        }

        public Criteria andIsSettleNotBetween(Byte value1, Byte value2) {
            addCriterion("is_settle not between", value1, value2, "isSettle");
            return (Criteria) this;
        }

        public Criteria andIsDeleteIsNull() {
            addCriterion("is_delete is null");
            return (Criteria) this;
        }

        public Criteria andIsDeleteIsNotNull() {
            addCriterion("is_delete is not null");
            return (Criteria) this;
        }

        public Criteria andIsDeleteEqualTo(Byte value) {
            addCriterion("is_delete =", value, "isDelete");
            return (Criteria) this;
        }

        public Criteria andIsDeleteNotEqualTo(Byte value) {
            addCriterion("is_delete <>", value, "isDelete");
            return (Criteria) this;
        }

        public Criteria andIsDeleteGreaterThan(Byte value) {
            addCriterion("is_delete >", value, "isDelete");
            return (Criteria) this;
        }

        public Criteria andIsDeleteGreaterThanOrEqualTo(Byte value) {
            addCriterion("is_delete >=", value, "isDelete");
            return (Criteria) this;
        }

        public Criteria andIsDeleteLessThan(Byte value) {
            addCriterion("is_delete <", value, "isDelete");
            return (Criteria) this;
        }

        public Criteria andIsDeleteLessThanOrEqualTo(Byte value) {
            addCriterion("is_delete <=", value, "isDelete");
            return (Criteria) this;
        }

        public Criteria andIsDeleteIn(List<Byte> values) {
            addCriterion("is_delete in", values, "isDelete");
            return (Criteria) this;
        }

        public Criteria andIsDeleteNotIn(List<Byte> values) {
            addCriterion("is_delete not in", values, "isDelete");
            return (Criteria) this;
        }

        public Criteria andIsDeleteBetween(Byte value1, Byte value2) {
            addCriterion("is_delete between", value1, value2, "isDelete");
            return (Criteria) this;
        }

        public Criteria andIsDeleteNotBetween(Byte value1, Byte value2) {
            addCriterion("is_delete not between", value1, value2, "isDelete");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNull() {
            addCriterion("create_time is null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNotNull() {
            addCriterion("create_time is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualTo(Date value) {
            addCriterion("create_time =", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualTo(Date value) {
            addCriterion("create_time <>", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThan(Date value) {
            addCriterion("create_time >", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("create_time >=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThan(Date value) {
            addCriterion("create_time <", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
            addCriterion("create_time <=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIn(List<Date> values) {
            addCriterion("create_time in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotIn(List<Date> values) {
            addCriterion("create_time not in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeBetween(Date value1, Date value2) {
            addCriterion("create_time between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
            addCriterion("create_time not between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNull() {
            addCriterion("update_time is null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNotNull() {
            addCriterion("update_time is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeEqualTo(Date value) {
            addCriterion("update_time =", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotEqualTo(Date value) {
            addCriterion("update_time <>", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThan(Date value) {
            addCriterion("update_time >", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("update_time >=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThan(Date value) {
            addCriterion("update_time <", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThanOrEqualTo(Date value) {
            addCriterion("update_time <=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIn(List<Date> values) {
            addCriterion("update_time in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotIn(List<Date> values) {
            addCriterion("update_time not in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeBetween(Date value1, Date value2) {
            addCriterion("update_time between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotBetween(Date value1, Date value2) {
            addCriterion("update_time not between", value1, value2, "updateTime");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}